package com.wake.mycomposebook.base

import android.app.Application
import android.content.Context

/**
 *@author created by WA03675
 *@date  2022-03-31 09:06
 *@des
 */
class ComposeApplication : Application() {
    init {
        instances = requireNotNull(this)
    }

    companion object {
        private lateinit var instances: ComposeApplication

        fun applicationContext(): Context {
            return instances
        }
    }
}